package com.hth.stockspiderv3.repository;

import com.hth.stockspiderv3.po.StockBlock;
import com.hth.stockspiderv3.po.StockBlockExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StockBlockMapper {
    long countByExample(StockBlockExample example);

    int deleteByExample(StockBlockExample example);

    int deleteByPrimaryKey(Long id);

    int insert(StockBlock record);

    int insertSelective(StockBlock record);

    List<StockBlock> selectByExample(StockBlockExample example);

    StockBlock selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") StockBlock record, @Param("example") StockBlockExample example);

    int updateByExample(@Param("record") StockBlock record, @Param("example") StockBlockExample example);

    int updateByPrimaryKeySelective(StockBlock record);

    int updateByPrimaryKey(StockBlock record);
}